package java3_27;

public class IntegerDemo1 {
    public static void main(String[] args) {
        String s1 = Integer.toBinaryString(-99);
        System.out.println(s1);

        String s2 = Integer.toHexString(2);
        System.out.println(s2);
        int x = 14;
        int a = 23;
        System.out.println(x & a);
        System.out.println(x | a);
        System.out.println(~x);
        System.out.println(x >>> 1);
        System.out.println(x << 2);
        System.out.println(x >> 2);
    }
}
